<#include "../macro/admin-layout.ftl" />
<@adminLayout title="创建&编辑分类">
    <ol class="breadcrumb">
        <li>管理员中心</li>
        <li>创建&编辑分类</li>
    </ol>
    <form class="form-horizontal col-md-8 col-md-offset-2" action="${request.contextPath}/admin/domain-create-action" method="post">
        <div class="form-group">
            <label for="id" class="col-sm-2 control-label">ID</label>
            <div class="col-sm-10">
                <span class="form-control" name="id" id="id"></span>
            </div>
        </div>
        <div class="form-group">
            <label for="code" class="col-sm-2 control-label">代码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="code" id="code" placeholder="分类代码">
            </div>
        </div>
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label">名称</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="name" id="name" placeholder="分类名称">
            </div>
        </div>
        <div class="form-group">
            <label for="intro" class="col-sm-2 control-label">简要描述</label>
            <div class="col-sm-10">
                <textarea class="form-control" name="intro" id="intro" placeholder="分类简要描述"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label for="sort" class="col-sm-2 control-label">排序值</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sort" id="sort" placeholder="排序值">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-3 col-sm-6">
                <button type="submit" class="center-block btn btn-success"><i class="fa fa-paper-plane"></i>确定</button>
            </div>
        </div>
    </form>
</@adminLayout>
